import request from '@/utils/request'
import qs from 'qs'

export const getBusinessRankList = (data) => {
  const querydata = qs.stringify(data)
  return request({
    url: `/crm-service/app/business/ranking?${querydata}`,
    method: 'get'
  })
}
export const getFollowUpRankList = (data) => {
  const querydata = qs.stringify(data)
  return request({
    url: `/crm-service/app/businessFollowUp/ranking?${querydata}`,
    method: 'get'
  })
}
export const getVisitRankList = (data) => {
  const querydata = qs.stringify(data)
  return request({
    url: `/crm-service/app/businessVisit/ranking?${querydata}`,
    method: 'get'
  })
}
export const getQuotationRankList = (data) => {
  const querydata = qs.stringify(data)
  return request({
    url: `/crm-service/app/businessQuotation/ranking?${querydata}`,
    method: 'get'
  })
}




